* {
    padding: 0;
    margin: 0;
}

html, button, input, textarea, select {
    background-color: #fafafa;
    font-family: "冬青黑体简", "方正兰亭黑", "微软雅黑", "Helvetica", sans-serif;
    font-weight: lighter;
    color: #111111;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    list-style: none;
}

html {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#page {
    padding-bottom: 8px;
    position: relative;
    right: 0;
}

.ui-c-f::after {
    content: '';
    display: block;
    clear: both;
}

.ui-v-a > span {
    display: inline-block !important;
    vertical-align: middle;
}

.ui-v-a::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.ui-btn-yellow {
    background: #f9e043;
    width: 100px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

footer {
    z-index: 100;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

footer.ui-tri {
    text-align: center;
}

footer .ui-tab {
    width: 30%;
    text-align: center;
    display: inline-block;
    letter-spacing: normal;
    color: white;
    vertical-align: middle;
    font-weight: lighter;
    font-size: 10px;
    text-decoration: none;
}

footer div.ui-tab {
    color: #f9e043;
}

.fic {
    background: url("img/spit_FooterIcon.png") no-repeat;
    background-size: 48px;
    display: block;
    width: 16px;
    height: 16px;
    margin: 2px auto;
}

.fic-home {
    background-position: 0 0;
}

div.ui-tab .fic-home {
    background-position: 0 -16px;
}

.fic-cate {
    background-position: -16px 0;
}

div.ui-tab .fic-cate {
    background-position: -16px -16px;
}

.fic-me {
    background-position: -32px 0;
}

div.ui-tab .fic-me {
    background-position: -32px -16px;
}

.ui-cart {
    position: fixed;
    right: 20px;
    bottom: 70px;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    background: url(img/ic_cart.png) rgba(0, 0, 0, 0.7) no-repeat center;
    background-size: 50%;
}

.ui-cart-num {
    border-radius: 9999px;
    text-align: center;
    font-size: 10px;
    color: white;
    line-height: 20px;
    white-space: nowrap;
    width: 20px;
    height: 20px;
    background: red;
    float: right;
    display: none;
}

.ui-box {
    background-color: white;
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
    margin-top: 8px;
}

.ui-box-title {
    border-bottom: solid 1px #f0f0f0;
}

.ui-more {
    color: #888;
    float: right;
    height: 100%;
}

.ui-more > span {
    display: inline-block;
    vertical-align: middle;
}

.ui-more::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 100%;
    background: url(img/ic_arrow_right.png) no-repeat center;
    background-size: 50%;
    vertical-align: middle;
}

.ui-price::before {
    content: '￥';
    font-size: 0.8em;
    text-decoration: none;
}

.ui-counter {
    height: 28px;
    border: solid 1px #dddddd;
    font-size: 14px;
}

.ui-count-input {
    width: 28px;
    height: 28px;
    float: left;
    text-align: center;
    font-size: 14px;
    border-left: solid 1px #dddddd;
    border-right: solid 1px #dddddd;
}

.ui-decs {
    width: 28px;
    height: 28px;
    text-align: center;
    float: left;
}

.ui-add {
    width: 28px;
    height: 28px;
    text-align: center;
    float: right;
}

.ui-decs::before {
    content: '-';
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
}

.ui-add::before {
    content: '+';
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
}

.ui-page-holder {
    height: 44px;
}

.dialog-tips {
    z-index: 999999;
    position: fixed;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px;
    opacity: 1;
    transition: width 0.2s, left 0.2s, opacity 0.3s;
}

.dialog-tips span {
    opacity: 0;
    transition: opacity 0.1s;
    color: white;
}

.ui-page {
    position: fixed;
    width: 100%;
    height: 100%;
}

.ui-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 36px;
    background: rgba(0, 0, 0, 0.85);
}

.ui-bar {
    height: 44px;
    line-height: 44px;
    padding: 0 8px;
}

.ui-shade {
    position: fixed;
    background: rgba(0, 0, 0, 0.4);
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150%;
}